﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PreeRegisterModel
{
    /// <summary>
    /// 检验报告列表查询请求类
    /// </summary>
    public class LabReportListRequestModel
    {
        /// <summary>
        /// 诊疗ID
        /// </summary>
        public string cpatientcode { get; set; }
    }

    /// <summary>
    /// 检验报告列表查询返回类
    /// </summary>
    public class LabReportListResponseModel
    {
        /// <summary>
        /// code
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// msg
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 报告单列表
        /// </summary>
        public List<LabReportListItemResponseModel> reportlist { get; set; }
    }

    /// <summary>
    /// 检验报告列表查询返回明细类
    /// </summary>
    public class LabReportListItemResponseModel
    {
        /// <summary>
        /// 申请号
        /// </summary>
        public string ApplyNo { get; set; }
        /// <summary>
        /// 申请内容
        /// </summary>
        public string ReportTypeName { get; set; }
        /// <summary>
        /// 标本种类
        /// </summary>
        public string TestSample { get; set; }
        /// <summary>
        /// 报告单序号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 报告时间
        /// </summary>
        public string cjgsj { get; set; }
        /// <summary>
        /// 检验报告ID
        /// </summary>
        public string MainID { get; set; }
    }

    /// <summary>
    /// 检验报告明细查询请求类
    /// </summary>
    public class LabReportDetailRequestModel
    {
        /// <summary>
        /// 检验报告单ID
        /// </summary>
        public string mainid { get; set; }
    }

    /// <summary>
    /// 检验报告明细查询返回类
    /// </summary>
    public class LabReportDetailResponseModel
    {
        /// <summary>
        /// code
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// msg
        /// </summary>
        public string msg { get; set; }
        /// <summary>
        /// 检验报告单ID
        /// </summary>
        public string mainid { get; set; }
        /// <summary>
        /// 标本号
        /// </summary>
        public string StandardSampleNo { get; set; }
        /// <summary>
        /// 开|接单医生
        /// </summary>
        public string SectionOffice { get; set; }
        /// <summary>
        /// 收标时间
        /// </summary>
        public string jbsj { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 标本种类
        /// </summary>
        public string TestSample { get; set; }
        /// <summary>
        /// 病房/床号
        /// </summary>
        public string BedNo { get; set; }
        /// <summary>
        /// 检验时间
        /// </summary>
        public string jysj { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string sex { get; set; }
        /// <summary>
        /// 标本状况
        /// </summary>
        public string SampleStatus { get; set; }
        /// <summary>
        /// 开单者
        /// </summary>
        public string kdr { get; set; }
        /// <summary>
        /// 报告时间
        /// </summary>
        public string cjgsj { get; set; }
        /// <summary>
        /// 年龄
        /// </summary>
        public string Age { get; set; }
        /// <summary>
        /// 检验者
        /// </summary>
        public string jyr { get; set; }
        /// <summary>
        /// 临床诊断
        /// </summary>
        public string Diagnose { get; set; }
        /// <summary>
        /// 采标时间
        /// </summary>
        public string cbsj { get; set; }
        /// <summary>
        /// 审核者
        /// </summary>
        public string hdr { get; set; }
        /// <summary>
        /// 采标人
        /// </summary>
        public string cbr { get; set; }
        /// <summary>
        /// 报告单格式
        /// </summary>
        public string ReportFormat { get; set; }
        /// <summary>
        /// 申请内容
        /// </summary>
        public string ReportTypeName { get; set; }
        /// <summary>
        /// 门诊/住院号
        /// </summary>
        public string MzZyNo { get; set; }
        /// <summary>
        /// 开单时间
        /// </summary>
        public string kdsj { get; set; }
        /// <summary>
        /// 报告单列表
        /// </summary>
        public List<LabReportDetailItemResponseModel> detail { get; set; }
    }

    /// <summary>
    /// 检验报告明细查询返回明细类
    /// </summary>
    public class LabReportDetailItemResponseModel
    {
        /// <summary>
        /// 检验项目名称
        /// </summary>
        public string TestItemChi { get; set; }
        /// <summary>
        /// 检验结果
        /// </summary>
        public string TestResult { get; set; }
        /// <summary>
        /// 结果单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 参考范围
        /// </summary>
        public string ConsultChar { get; set; }
        /// <summary>
        /// 结果标识
        /// </summary>
        public string TestResultSign { get; set; }
        /// <summary>
        /// 实验方法
        /// </summary>
        public string testmeans { get; set; }
        /// <summary>
        /// 一单通
        /// </summary>
        public string mutualvalue { get; set; }
    }
}
